package com.example.demo.util;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class TreeNode implements Serializable {
    //id
    private String value;
    //父id
    private String pid;
    //子集合
    private List<TreeNode> children;
    //名称
    private String label;

    private String code;

//    @Override
//    public String toString() {
//        return this.label;
//    }

}
